<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title></title>
  <script type="text/javascript">
    window.FBL = {};
    window.onload = function()
    {
        with(FBL)
        {
            var parentNode = document.getElementById("out");
            
            // --------------------------------------------------------------
            // DomPlate test goes here
            // --------------------------------------------------------------
            
            var inputArray = ["Honza", "Radek", "John", "Mike"];
                        
            var template = domplate(
            {
                table:
                    TABLE({border: "1", width: "100px"},
                        FOR("item", "array",
                            TAG("$row", {name: "$item"})
                        )
                    ),
            
                row:
                    TR({align: "center"},
                        TD("$name")
                    )
            });

            template.table.replace({array: inputArray}, parentNode, template);
            
            // --------------------------------------------------------------
        }    
    }    
  </script>
  <script src="../../content/firebug/domplate.js" type="text/javascript"></script>
  </head>
  <body>
  
  <h1 id="header">DomPlate Test</h1>
  <div id="comment"><i>This is just a test file</i><hr/></div>
  <div id="out"></div>

  </body>
</html>
